package com.mapKeyVal.key;

public class PathIdVerKey {
	private String path_id;
	private String path_ver;
	
	public PathIdVerKey(String path_id, String path_ver) {
		super();
		this.path_id = path_id;
		this.path_ver = path_ver;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((path_id == null) ? 0 : path_id.hashCode());
		result = prime * result
				+ ((path_ver == null) ? 0 : path_ver.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PathIdVerKey other = (PathIdVerKey) obj;
		if (path_id == null) {
			if (other.path_id != null)
				return false;
		} else if (!path_id.equals(other.path_id))
			return false;
		if (path_ver == null) {
			if (other.path_ver != null)
				return false;
		} else if (!path_ver.equals(other.path_ver))
			return false;
		return true;
	}

	public String getPath_id() {
		return path_id;
	}

	public void setPath_id(String path_id) {
		this.path_id = path_id;
	}

	public String getPath_ver() {
		return path_ver;
	}

	public void setPath_ver(String path_ver) {
		this.path_ver = path_ver;
	}
	
}
